@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>剩料记录管理</h5>
                @if(shiro.hasPermission("/offcutLog/count")){
                <blockquote class="layui-elem-quote" style="padding: 0 0 0 5px;
                                    width: 500px; margin-left: 105px; font-size: 11px;">本月总方数：0；本年总方数：0</blockquote>
                @}
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-lg-6 col-sm-3">
                                <#NameCon id="carNumber" name="车号" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#NameCon id="originNo" name="原小票" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#NameCon id="currentNo" name="现小票" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#NameCon id="start" name="开始日期" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#NameCon id="end" name="结束日期" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#SelectCon id="offcutType" name="剩料类型">
                                </#SelectCon>
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="OffcutLog.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="OffcutLogTableToolbar" role="group">
                            @if(shiro.hasPermission("/offcutLog/add")){
                                <#button name="添加" icon="fa-plus" clickFun="OffcutLog.openAddOffcutLog()"/>
                            @}
                            @if(shiro.hasPermission("/offcutLog/update")){
                                <#button name="修改" icon="fa-edit" clickFun="OffcutLog.openOffcutLogDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/offcutLog/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="OffcutLog.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/offcutLog/export")) {
                            <#button name="导出" icon="fa-edit" clickFun="OffcutLog.exportMsg()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/offcutLog/export")) {
                            <#button name="报表" icon="fa-edit" clickFun="OffcutLog.report()" space="true"/>
                            @}
                        </div>
                        <#table id="OffcutLogTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/business/offcutLog/offcutLog.js"></script>
@}
